package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dtos.WmNewsDto;
import com.itheima.pojos.WmNews;
import org.springframework.transaction.annotation.Transactional;

@Transactional(rollbackFor = RuntimeException.class)
public interface WmNewsService extends IService<WmNews> {

    Boolean submitNews(WmNewsDto dto);
     void refreshArticle(WmNews wmNews);

}
